<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp"%>
<div>
    <form id="manage_businessRule_editform" action="${pageContext.request.contextPath}/manage/businessrule/businessRule/${action=='create'?'saveJson':'updateJson'}.html" method="post">
      <jodd:form bean="businessRule" scope="request">
        <input name="id" type="hidden" />
        <table class="tableForm" width="100%">
			<input type="hidden" name="partnerId" value="${partnerId}" id="partnerId"/>
			<tr>
				<th>交易类型：</th>
				<td><select name="transactionType" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox" >
					<c:forEach items="${allTransactionTypes}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select></td>
			</tr>					
			<tr>
				<th>子交易类型：</th>
				<td><select name="subTransactionType" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox" >
					<c:forEach items="${allSubTransactionTypes}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select></td>
			</tr>					
			<tr>
				<th>对公对私：</th>
				<td><select name="personalCorporateType" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox" >
					<c:forEach items="${allPersonalCorporateTypes}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select></td>
			</tr>					
			<tr>
				<th>借贷类型：</th>
				<td><select name="cardType" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox" >
					<c:forEach items="${allDebitCreditTypes}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select></td>
			</tr>					
			<tr>
				<th>银行编码(CCB)：</th>
				<td>
					<select name="instBankId" editable="false" style="height:27px;" size="20" data-options="required:false" panelHeight="200" class="easyui-combobox" >
						<c:forEach items="${allBank}" var="e">
							<option value="${e.INST_BANK_ID}">${e.INST_BANK_NAME}</option>
						</c:forEach>
					</select>
				</td>
			</tr>
			<tr>
				<th>状态：</th>
				<td><select name="status" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox" >
					<c:forEach items="${allStatuss}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select></td>
			</tr>					
			<tr>
				<th>规则名称：</th>
				<td><input type="text" name="ruleName" size="48" placeholder="请输入规则名称..." class="easyui-validatebox text" data-options="validType:['length[1,0]']"/></td>
			</tr>					
			<tr>
				<th>备注：</th>
				<td><input type="text" name="memo" size="48" placeholder="请输入备注..." class="easyui-validatebox text" data-options="validType:['length[1,32]']"/></td>
			</tr>					
        </table>
      </jodd:form>
    </form>
</div>
